home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / util / pack / xpk_Source.lha / xpk_Source / libraries / RLEN / xpkLibRLEN.a next >
Text File  |  1998-02-08  |  2KB  |  60 lines

  1.     INCLUDE    AINCLUDE:IncDirs.i    * my asm needs for include dirs
  2.     INCLUDE    xpk/xpkLibHeader.i
  3.  
  4. ******************** $VER: xpkLib.i 1.3 (11.01.1997) *********************
  5.  
  6. ; Here the needed variables and strings are initialized. Do not change the
  7. ; format of the IDString. Only add some additional information after the
  8. ; second brake. An additional $VER: string is not needed!
  9.  
  10. VERSION        EQU    1        ; version of your library
  11. REVISION    EQU    3        ; revision of your library
  12.  
  13. LibName        DC.B    'xpkRLEN.library',0
  14. IDString    DC.B    'xpkRLEN 1.3 (01.04.1997)',13,10,0
  15.         CNOP    0,2
  16.  
  17. **************************************************************************
  18.  
  19. ; Functions _InitCode and _ExitCode give you the ability to do things on
  20. ; opening and closing of library. These functions are called by init
  21. ; routine or by Expunge. Init is the only funtion, that is allowed to set a
  22. ; value for an global variable. The library pointer is in A5, registers
  23. ; have to be saved!!! If _InitCode returns not zero, the init function fails and
  24. ; thus the library cannot be opened!
  25.  
  26. ; Sometimes you do not need functions _XpksPackReset, _XpksPackFree or
  27. ; _XpksUnpackFree. In this case you can set these dummies here:
  28. ;
  29. _XpksPackFree
  30. _XpksPackReset
  31. _XpksUnpackFree
  32.  
  33. ; Dummy functions, mark out them if you want to use your own ones
  34. _InitCode
  35. _ExitCode    MOVEQ    #0,D0
  36.         RTS
  37. ; or set these two if the functions are extern
  38. ;    XREF    _InitCode
  39. ;    XREF    _ExitCode
  40.  
  41. **************************************************************************
  42.  
  43. ; ASM: in assembler language use this file as an include with directive
  44. ;    INCLUDE    xpkLib____.i
  45.  
  46. ; OTHER: In any other language compile this file with an assembler and get
  47. ; an object file (called like xpkLib____.o). Link this object file together
  48. ; with your other code. This file MUST be the first one (e.g. it is the
  49. ; startup code). Set the following external references.
  50. ;
  51.     XREF    _XpksPackerInfo
  52.     XREF    _XpksPackChunk
  53. ;    XREF    _XpksPackFree
  54. ;    XREF    _XpksPackReset
  55.     XREF    _XpksUnpackChunk
  56. ;    XREF    _XpksUnpackFree
  57.  
  58. **************************************************************************
  59.     END
  60.